﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Project.MVC.Model
{
  public  class UserInfo
    {
      public int Id { get; set; }
      public string HoTen { get; set; }
      public string UserName { get; set; }
      public string Password { get; set; }
      public DateTime TimeInput { get; set; }
      public int Status { get; set; }
      public string TimeInputStr {
          get {
              return string.Format("{0:dd/MM/yyyy}", TimeInput);
          }
      }
      #region List field name for views
      public class ListFieldName
      {
          private ListFieldName() { }
          public const string Id = "Id";
          public const string HoTeb = "HoTen";
          public const string UserName = "UserName";
          public const string Password = "Password";
          public const string Status = "Status";
      }
      #endregion
    }
}
